package net.shopxx.entity;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class Price extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -9076361519200940038L;
//	政策ID
	private String priceID;
//	乘客类型
	private String psgType;
//	票面价
	private Float fare;
//	返点
	private Float agentComm;
//	返点
	private Float fuelSurTax;
//	燃油税
	private Float airportTax;

	private AirOrder airOrder;// 订单

	public String getPriceID() {
		return priceID;
	}

	public void setPriceID(String priceID) {
		this.priceID = priceID;
	}

	public String getPsgType() {
		return psgType;
	}

	public void setPsgType(String psgType) {
		this.psgType = psgType;
	}

	public Float getFare() {
		return fare;
	}

	public void setFare(Float fare) {
		this.fare = fare;
	}

	public Float getAgentComm() {
		return agentComm;
	}

	public void setAgentComm(Float agentComm) {
		this.agentComm = agentComm;
	}

	public Float getFuelSurTax() {
		return fuelSurTax;
	}

	public void setFuelSurTax(Float fuelSurTax) {
		this.fuelSurTax = fuelSurTax;
	}

	public Float getAirportTax() {
		return airportTax;
	}

	public void setAirportTax(Float airportTax) {
		this.airportTax = airportTax;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(nullable = false)
	public AirOrder getAirOrder() {
		return airOrder;
	}

	public void setAirOrder(AirOrder airOrder) {
		this.airOrder = airOrder;
	}
	
	
}
